package com.qf.qfleadnewscommons.mvc;

public class ThreadLocalUtils {

    private static ThreadLocal<Long> uidTl = new ThreadLocal<>();

    public static void putUid(Long uid){
        uidTl.set(uid);
    }

    public static Long getUid(){
        return uidTl.get();
    }

    public static void removeUid(){
        uidTl.remove();
    }
}
